//
//  NSError+AlertExtensions.m
//  WSPluginSwitcher
//
//  Created by Marc Bauer on 19.01.09.
//  Copyright 2009 nesiumdotcom. All rights reserved.
//

#import "NSError+AlertExtensions.h"


@implementation NSError (AlertExtensions)

+ (id)errorWithDomain:(NSString *)domain code:(NSInteger)code title:(NSString *)aTitle 
	description:(NSString *)aDescription
{
	return [NSError errorWithDomain:domain code:code userInfo:[NSDictionary 
		dictionaryWithObjectsAndKeys:aTitle, NSLocalizedDescriptionKey, 
		aDescription, NSLocalizedRecoverySuggestionErrorKey, nil]];
}

@end